
<div class="nav">
    <div class="ui container">
        <a href="{% url 'real_index' %}"><img alt="" class="logo" src='/upload/images/logo.png'/></a>
        <img alt="" class="user" src="/upload/images/user.png"/>
        <div class="ui buttons">
            <a href="{% url 'real_index' %}"><button class="ui button {% if path == 'index' %}active{% endif %}">首页</button></a>
            <a href="{% url 'real_web_detail' %}?hot_page=1"><button class="ui button {% if path == 'web_detail' %}active{% endif %}">排行榜</button></a>
            <a href="{% url 'real_main' %}"><button class="ui button {% if path == 'main' %}active{% endif %}">游戏中心</button></a>
        </div>
        <div class="ui right labeled input ">
            <input type="text" placeholder="搜索">
            <div class="ui label">
                <div class="text " id="serch"><i class="search icon"></i></div>
            </div>
        </div>
    </div>
</div>